package com.wpp.boot;

import com.wpp.client.RPCConsumer;
import com.wpp.service.IUserService;

/**
 * @author by wpp25
 * @Classname ConsumerBoot
 * @Description
 * @Date 2020/11/26 20:45
 */
public class ConsumerBoot {

   /* public static void main(String[] args) throws InterruptedException {
        IUserService iUserService = (IUserService) RPCConsumer.createProxy(IUserService.class);
        while (true) {
            String result = iUserService.sayHello("hello world");
            System.out.println(result);
            Thread.sleep(2000);
        }
    }*/
}
